/**
 * @date 5:56:18 PM
 * SchoolAPIService.java
 * Administrator
 * TODO
 */
package com.qs.education.service;
import com.qs.education.bean.api.ResponseBean;
import com.qs.education.bean.api.ResponseListBean;
import com.qs.education.bean.beans.EducationSchoolBean;
import com.qs.education.bean.beans.EducationSchoolResponse;
import com.qs.education.bean.entity.EducationSchool;

/**
 * @class SchoolAPIService	
 * @author Warren
 * @description
 * @date Nov 7, 2018 
 */
public interface ISchoolAPIService {
	
	/**
	 * @author Warren
	 * @return List<EducationSchoolBean>
	 * @description 获取所有学校的列表
	 * @date Nov 7, 2018
	 */
	public ResponseListBean<EducationSchoolBean> getList();
	
	/**
	 * @author Warren
	 * @param educationSchool
	 * @return ResponseListBean<EducationSchoolBean>
	 * @description 根据省市区选择所有学校
	 * @date Nov 8, 2018
	 */
	public ResponseListBean<EducationSchoolBean> getListByProvinceAndCityAndArea(EducationSchool educationSchool);
	
	/**
	 * @author Warren
	 * @param id 学生id
	 * @param schoolId 学校id
	 * @return Map<String,Object>
	 * @description
	 * @date Nov 8, 2018
	 */
	public ResponseBean selectSchool(Long id,Long schoolId);

	/**
	 * @Description 添加学校
	 * @author Jason
	 * @date Nov 13, 2018
	 * @param school
	 * @return
	 */
	public Boolean addSchool(EducationSchool school);

	/**
	 * @Description 根据ID查找学校信息
	 * @author Jason
	 * @date Nov 14, 2018
	 * @param studentId
	 * @return
	 */
	public EducationSchoolResponse findSchoolById(Long studentId);

	/**
	 * @Description 更新学校信息
	 * @author Jason
	 * @date Nov 14, 2018
	 * @param educationSchool
	 * @return
	 */
	public Boolean updateSchool(EducationSchool student);
	
	/**
	 * @Description 删除学校信息
	 * @author Jason
	 * @date Nov 14, 2018
	 * @param studentId
	 * @return
	 */
	public Boolean deleteSchool(Long studentId);
}
